<template>
  <el-menu
    default-active="2"
    class="el-menu-vertical-demo"
    background-color="#D3DCE6"
    text-color="black"
    active-text-color="orange"
    :collapse-transition="false"
    router
    
  >
    <navbar-item :menus="menus"></navbar-item>
  </el-menu>
</template>

<script>
import NavbarItem from "./NavbarItem";

export default {
  components: { NavbarItem },

  props: {
    menus: {
      type: Array,
      require: true,
    },
  },
};
</script>

<style>

</style>